package com.jic.point.api;

import com.jic.common.base.vo.RestResult;
import com.jic.point.rest.request.PointsCollectionCommonRequest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * description: 发放积分接口
 */

@FeignClient(name = "jic-point", path = "/api/point/")
@Api(tags = " [发放积分接口]")
public interface HaierDeliveryPointApi {

    /**
     * @Auther: YGH
     * @DATE: 2020/11/13
     * 积分发放
     */
    @PostMapping("deliveryPoint")
    @ApiOperation(value = " 积分发放")
    RestResult<?> getGrantPoint(@RequestBody PointsCollectionCommonRequest signData);
}
